/*
 * BanBu_PeopleDataController
 * @description 本文件提供个人空间的其他用户个人信息界面的ViewController
 * @package
 * @author 		***
 * @copyright
 * @version 		1.0
 * @description 本文件提供个人空间的其他用户个人信息界面的ViewController
 */

#import <UIKit/UIKit.h>
#import "AppCommunicationManager.h"
#import "CustomAlertView.h"
#import "RadioButton.h"
#import "BanBu_NoteView.h"
#import "BanBu_ReportView.h"
#import "BanBu_SmileView.h"
#import "BanBu_ProfileDataController.h"
#import "MWPhotoBrowser.h"
@class UIBadgeView;
@class BanBu_NavigationController;
typedef enum
{
    DisplayTypePeopleProfile = 0,
    DisplayTypePeopleNews
    
} DisplayType;
@interface BanBu_PeopleDataController : UITableViewController <UIActionSheetDelegate,BanBuRequestDelegate,UIAlertViewDelegate,UITextViewDelegate,RadioButtonDelegate,UITextFieldDelegate,ChangeNameDelegate,ReportViewDelegate,MWPhotoBrowserDelegate>
{
    BOOL _linked;
    UIButton *_talkButton;
    UIButton *_linkButton;
    BOOL _isBlack;
    NSInteger _kind; //0关注2好友1粉丝3黑名单4陌生人
    //    NSInteger _writeButtonTitleType;//1:好友请求，2：确认好友,3:写信息
    UIAlertView *greetAlert;
    
    
    CustomAlertView *customAlert;
    NSInteger reportMessIndex;
    UITextField * textView1;//举报详细信息
    
    BanBu_ReportView *aReportView;
    
    
    
    int grjsNum;
    BOOL isHaveGRJS;
    BanBu_NavigationController *aNC;
    BanBu_NoteView *aNote;
    //    NSMutableArray *titleArr;
    //    NSMutableArray *titleValueArr;
    //    NSMutableDictionary *titleAndValueDic;
    NSMutableArray *titleAndValueArr;
    
    UITableViewCell *copyCell;
}
@property (nonatomic, retain) NSMutableDictionary *socialInfo;
@property (nonatomic, retain) NSMutableDictionary *profile;
@property (nonatomic, retain) NSArray             *headerArr;
@property (nonatomic, retain) NSMutableArray      *userActions;
@property (nonatomic, retain) UIView              *toolbarView;
@property (nonatomic, assign) BOOL                isRequestFriend;
@property (nonatomic, retain) UIBadgeView         *badgeView;

- (id)initWithProfile:(NSDictionary *)profileDic displayType:(DisplayType)type;
+(UIView *)creatHeaderView:(NSDictionary *)peopleProfile;

-(void)setProfile:(NSDictionary *)profile;
@end
